namespace EntityFrameworkModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class hkb_RequirementBookCredit
    {
        [Key]
        [Column(Order = 0)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long GuestsId { get; set; }

        [Key]
        [Column(Order = 1)]
        public Guid RequirementId { get; set; }

        public int? CreditStanding { get; set; }

        public int? Overdue_1_30 { get; set; }

        public int? Overdue_31_60 { get; set; }

        public int? Overdue_61_90 { get; set; }

        public int? Overdue_91_120 { get; set; }

        public int? OverdueTotalCount { get; set; }

        public int? EnterpriseCredit { get; set; }

        public int? EnterpriseOverdue { get; set; }

        public int? MaxEnterpriseOverdueTime { get; set; }

        public int? MasterSpouseCredit { get; set; }

        public int? SpouseOverdue_1_30 { get; set; }

        public int? SpouseOverdue_31_60 { get; set; }

        public int? SpouseOverdue_61_90 { get; set; }

        public int? SpouseOverdue_91_120 { get; set; }

        public int? SpouseOverdueTotalCount { get; set; }

        public int? CreditCardAmount { get; set; }

        public int? CreditCardsCount { get; set; }

        [StringLength(200)]
        public string CardBank { get; set; }

        public int? UsedCreditCardAmount { get; set; }

        public int? LoanStatus { get; set; }

        public int? PersonalLoanMonthlyRepayment { get; set; }

        public decimal? PersonalLoanBalance { get; set; }

        public int? CompanyDebtStatus { get; set; }

        public decimal? CompanyDebtAmount { get; set; }

        public int? CreditCardMaxAmount { get; set; }

        public DateTime? CreateTime { get; set; }

        public DateTime? UpdateTime { get; set; }

        public virtual hkb_RequirementBook hkb_RequirementBook { get; set; }
    }
}
